#ifndef MYCOMBOBOX_H
#define MYCOMBOBOX_H

#include <QObject>
#include <QComboBox>
#include <QDebug>
#include <QListView>
#include <QLineEdit>
#include <QEvent>
#include <QMouseEvent>

class MyComboBox : public QComboBox
{
    Q_OBJECT
public:
    MyComboBox(QWidget* parent = 0);

private slots:
    void slot_setPopupType(const int& index);

private:
    void mouseReleaseEvent(QMouseEvent *e) override;

    void mousePressEvent(QMouseEvent *e) override;
};

#endif // MYCOMBOBOX_H
